Death and heart complications were 40 percent less common in people with obesity and diabetes when they had bariatric surgery